package com.dunka.demo.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

/**
 * @Author Dunka
 * @Description //TODO
 * @Date 10:34   2019/7/26
 * @ClassName Menu_Grant
 */
@Alias("menu_grant")
@ApiModel("菜单权限实体")
public class Menu_Grant {
    @ApiModelProperty("菜单权限id")
    private int id;
    @ApiModelProperty("角色id")
    private int role_id;
    @ApiModelProperty("菜单id")
    private int menu_id;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getRole_id() {
        return role_id;
    }

    public void setRole_id(int role_id) {
        this.role_id = role_id;
    }

    public int getMenu_id() {
        return menu_id;
    }

    public void setMenu_id(int menu_id) {
        this.menu_id = menu_id;
    }

    @Override
    public String toString() {
        return "Menu_Grant{" +
                "id=" + id +
                ", role_id=" + role_id +
                ", menu_id=" + menu_id +
                '}';
    }
}
